Automattic\WooCommerce\Internal\DataStores\Orders\LegacyDataHandler A

Total Complexity 73
Dependencies 8
Dependents 3
Total lines 535
Lines of code 304
Logical lines of code 166
Comment lines 147
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
backfill_order_to_datastore()
B
39 19 58
build_sql_query_for_cleanup()
A
44 10 40
get_diff_for_order()
A
48 8 31
validate_backfill_fields()
A
44 6 52
limit_hpos_update_to_props()
S
52 7 24
is_order_newer_than_post()
S
57 7 14
cleanup_post_data()
S
52 4 25
get_order_from_datastore()
S
51 4 25
order_meta_to_array()
S
61 3 12
get_order_base_props()
S
68 2 7
init()
S
73 1 5
count_orders_for_cleanup()
S
75 1 4
get_orders_for_cleanup()
S
69 1 7